package com.oo.polymorphic_4.house;

/**
 * House--${description}
 *
 * @author: Jovi
 * @createTime: 2017-05-09 17:49
 **/
public class House {

    private String name;
    private int price;
    private String address;
    private int area;

    public House(String name, int price, String address, int area) {
        this.name = name;
        this.price = price;
        this.address = address;
        this.area = area;
    }

    public House() {
    }

    public void buy() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getArea() {
        return area;
    }

    public void setArea(int area) {
        this.area = area;
    }
}
